/*
 * @Description  :
 * @Autor        : guoxi
 * @Date         : 2022-08-11 18:33:47
 * @LastEditors  : Please set LastEditors
 * @LastEditTime : 2022-08-16 14:44:01
 * @FilePath     : \rpms\src\components\treeTable\data.ts
 */
export const getTreeTableDefalutData = () => {
  return [
    {
      id: 1, 
      children: [
        {
          id: 11, //1.人员劳务费
          children: [
            {
              id: 111
            },
            {
              id: 112
            }
          ]
        },

        {
          id: 12, //2.其他日常性支出

          children: [
            {
              id: 121
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            },
            {
              id: 122
            }
          ]
        }
      ]
    },
    {
      id: 2, //二、资产性支出

      children: [
        {
          id: 211
        },
        {
          id: 212
        },
        {
          id: 213
        },
        {
          id: 214
        },
        {
          id: 215
        },
        {
          id: 216
        },
        {
          id: 217
        },
        {
          id: 218
        },
      ]
    },
    {
      id: 3, //三、外部支出

      children: [
        {
          id: 31
        },
        {
          id: 32
        },

        {
          id: 33
        }
      ]
    },
    {
      id: 5
    }
  ];
};

export const getTypeNames = () => {
  return [
    "一、日常性支出",
    "1.人员劳务费",
    "1.1人工成本-工资及其他",
    "1.2人工成本-外部临时劳务",
    "2.其他日常性支出",
    "2.1材料费",
    "2.2测试化验加工费",
    "2.3燃料动力费",
    "2.4工器具使用费",
    "2.5图书资料及翻译费",
    "2.6印刷出版费",
    "2.7知识产权申请费",
    "2.8培训费",
    "2.9保险费",
    "2.10差旅费",
    "2.11会议费",
    "2.12专家咨询费",
    "二、资产性支出",
    "1.场地使用费",
    "2.仪器设备购置费",
    "3.计算机软件购置费",
    "4.专利和专有技术购置费",
    "5.折旧-装备",
    "6.折旧-建筑",
    "7.折旧-长期待摊费用",
    "8.其他折旧或摊销",
    "三、外部支出",
    "1.外委研发支出",
    "2.仪器设备租赁费",
    "3.外协测试试验与加工费",
    "合计"
  ];
};

export const dataType = [
  { key: "budgetSum", value: "预算总额" },
  { key: "budgetGov", value: "政府资金" },
  { key: "bugetCompany", value: "企业自筹" },
  { key: "bugetOther", value: "其他支出" }
];
export const dataType2 = [
  { key: "budgetSum", value: "项目经费总额-预算" },
  { key: "spendSum", value: "项目经费总额-支出" },
  { key: "budgetSumRateStr", value: "项目经费总额-预算执行率" },

  { key: "budgetGov", value: "政府资金-预算" },
  { key: "spendGov", value: "政府资金-支出" },
  { key: "budgetGovRateStr", value: "政府资金-预算执行率" },

  { key: "bugetCompany", value: "企业自筹-预算" },
  { key: "spendCompany", value: "企业自筹-支出" },
  { key: "bugetCompanyRateStr", value: "企业自筹-预算执行率" },

  { key: "bugetOther", value: "其他支出-预算" },
  { key: "spendOther", value: "其他支出-支出" },
  { key: "bugetOtherRateStr", value: "其他支出-预算执行率" }
];

export const getTableData = () => {
  return [
    {
      deptName: "单位1",
      fees: [
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "13",
          feeTypeName: "一、日常性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "3",
          feeTypeName: "1.人员劳务费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "3",
          feeTypeName: "1.1直接费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.2间接费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "10",
          feeTypeName: "2.其他日常性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.1材料费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.2测试化验加工费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.3燃料动力费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.4工器具使用费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.5图书资料及翻译费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.6印刷出版费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "10",
          feeTypeName: "2.7知识产权申请费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.8培训费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.9保险费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.10差旅费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.11会议费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.12专家咨询费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "0",
          feeTypeName: "二、资产性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.场地使用费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.仪器设备购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "3.计算机软件购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "4.专利和专有技术购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "6",
          feeTypeName: "三、外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "0",
          feeTypeName: "1.外委研发支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "1.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "6",
          feeTypeName: "2.仪器设备租赁费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "6",
          feeTypeName: "2.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "2.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "0",
          feeTypeName: "3.外协测试试验与加工费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "3.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "3.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "3.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "",
          feeTypeName: "3.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: null,
          bugetCompany: null,
          bugetOther: "19",
          feeTypeName: "合计",
          feeTypeIndex: 0
        }
      ]
    },
    {
      deptName: "单位2",
      fees: [
        {
          budgetSum: null,
          budgetGov: "66",
          bugetCompany: "46",
          bugetOther: "2070",
          feeTypeName: "一、日常性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "0",
          bugetOther: "0",
          feeTypeName: "1.人员劳务费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.1直接费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.2间接费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "66",
          bugetCompany: "46",
          bugetOther: "2070",
          feeTypeName: "2.其他日常性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "1",
          bugetCompany: "56",
          bugetOther: "156",
          feeTypeName: "2.1材料费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "2",
          bugetCompany: "58",
          bugetOther: "159",
          feeTypeName: "2.2测试化验加工费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "3",
          bugetCompany: "60",
          bugetOther: "162",
          feeTypeName: "2.3燃料动力费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "4",
          bugetCompany: "62",
          bugetOther: "165",
          feeTypeName: "2.4工器具使用费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "5",
          bugetCompany: "64",
          bugetOther: "168",
          feeTypeName: "2.5图书资料及翻译费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "6",
          bugetCompany: "66",
          bugetOther: "171",
          feeTypeName: "2.6印刷出版费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "7",
          bugetCompany: "68",
          bugetOther: "174",
          feeTypeName: "2.7知识产权申请费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "8",
          bugetCompany: "70",
          bugetOther: "177",
          feeTypeName: "2.8培训费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "9",
          bugetCompany: "72",
          bugetOther: "180",
          feeTypeName: "2.9保险费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "10",
          bugetCompany: "74",
          bugetOther: "183",
          feeTypeName: "2.10差旅费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "11",
          bugetCompany: "76",
          bugetOther: "186",
          feeTypeName: "2.11会议费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "78",
          bugetOther: "189",
          feeTypeName: "2.12专家咨询费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "5190",
          bugetOther: "0",
          feeTypeName: "二、资产性支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "645",
          bugetOther: "",
          feeTypeName: "1.场地使用费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "4545",
          bugetOther: "",
          feeTypeName: "2.仪器设备购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "3.计算机软件购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "4.专利和专有技术购置费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "0",
          bugetOther: "0",
          feeTypeName: "三、外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "0",
          bugetOther: "0",
          feeTypeName: "1.外委研发支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "1.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "0",
          bugetOther: "0",
          feeTypeName: "2.仪器设备租赁费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "2.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "2.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "2.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "2.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "0",
          bugetCompany: "0",
          bugetOther: "0",
          feeTypeName: "3.外协测试试验与加工费",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "3.1其中对境内研究机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "3.2其中对境内高等院校支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "3.3其中对境外其他机构支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "",
          bugetCompany: "",
          bugetOther: "",
          feeTypeName: "3.4其中其他外部支出",
          feeTypeIndex: 0
        },
        {
          budgetSum: null,
          budgetGov: "66",
          bugetCompany: "5236",
          bugetOther: "2070",
          feeTypeName: "合计",
          feeTypeIndex: 0
        }
      ]
    }
  ];
};
